law of equipartition of energy